module.exports = app => {
    const { router, controller, config, middleware } = app;
    const isadmin = middleware.isadmin();
    router.post('/reply/add',controller.reply.add);
    // router.post('/article/statedone',userislogin,controller.article.statedone);
    router.post('/reply/getzan',controller.reply.getzan);
    router.post('/reply/getping',controller.reply.getping);
    router.post('/reply/getliuyan',isadmin, controller.reply.getliuyan);
    router.post('/reply/isShowliuyan',isadmin,controller.reply.isShowliuyan);
    router.get('/reply/lynewnum',controller.reply.lynewnum);
    // router.post('/article/updateone',userislogin,controller.article.updateone);
    // router.post('/article/getspicle',controller.article.getspicle);
    
};
  